/* 单行文本溢出显示省略号 */
.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 2行文本溢出显示省略号 */
.ellipsis-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* 3行文本溢出显示省略号 */
.ellipsis-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* 下边框 */
.border-bottom::after {
  box-sizing: border-box;
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  border-bottom: 1rpx solid rgba(0, 0, 0, .1);
  transform: scale(.5);
  transform-origin: 0 0;
  pointer-events: none;
}

/* 格式化原生button */
.format-button {
  background: transparent;
  padding-left: 0;
  padding-right: 0;
  line-height: inherit;
  border-radius: 0 !important;
  margin: 0;
  padding: 0;
  font-size: 28rpx;
}

.format-button::after {
  border: none !important;
}

/* 去除scroll-view滚动条 */
::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
  color: transparent;
}